package com.nuc.bigdata.orm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nuc.bigdata.orm.entity.News;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

/**
 * @author JackLuo
 * @date 2019/11/18
 */
public interface NewsMapper extends BaseMapper<News> {
    ArrayList<News> selectAllNews();

    News selectNewsByNewsId(@Param("newsId")String newsId);
}
